import json from '@rollup/plugin-json'

// import alias from "@rollup/plugin-alias";
import alias from './alias';

export default   {
  input: 'index.js',
  output: {
    file: 'dist/index.es.js',
    format: 'es'
  },

  plugins:[
    json(),
    alias({
      entries: {
        //import('a') 就会找 ./a
        a: './a'
      }
    })
  ]
}
